/*
package com.thread.threadfirst.marvel.citymaster.mapper;

import com.fugui.marvel.service.citymaster.entity.Query;
import com.fugui.marvel.service.common.dto.citymaster.ApplyCityMasterDTO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

*/
/**
 *竞选城主
 *//*

@Mapper
public interface ApplyCityMasterMapper extends BaseMapper<ApplyCityMasterDTO>{


    */
/**
     *
     * @return
     *//*

    List<ApplyCityMasterDTO> getCityMasterByStatus();

    */
/**
     *
     * @param query
     * @return
     *//*

    List<ApplyCityMasterDTO> getCampaignByList(Query query);


    */
/**
     * 查找竞选报名的用户 创建时间为第一个  cityId cityType
     * @param query
     * @return
     *//*

    ApplyCityMasterDTO getCampaignApplyUser(Query query);


    */
/**
     * 今天多少城主到期
     * @return
     *//*

    Integer getHowMuchDuebyToday();



    */
/**
     *查询当前用户是否已经报名
     * @param query
     * @return
     *//*

    ApplyCityMasterDTO getCurrentUserIsAlreadyApply(Query query);



    */
/**
     *查询用户对应的城市是否已经报名
     * @param query
     * @return
     *//*

    ApplyCityMasterDTO getCurrentUserIsApplyCampaign(Query query);




    */
/**
     *查询副城主当选的
     * @param query
     * @return
     *//*

    ApplyCityMasterDTO getDeputyCityElection(Query query);


    */
/**
     *查询城市的城主和副城主
     * @param query
     * @return
     *//*

    List<ApplyCityMasterDTO> getCityMasterAndDeputy(Query query);



    */
/**
     *查询当前用户是城主
     * @param query
     * @return
     *//*

    List<ApplyCityMasterDTO> getCurrentUserIsCityMaster(Query query);
*/
/**================================================================后台=======================================================================================*//*

    */
/**
     * 查询历届城主
     * @return
     *//*

    List<ApplyCityMasterDTO> querycorrectCityMasterPhone(Query query);

    */
/**
     * 查询历届城主
     * @return
     *//*

    List<ApplyCityMasterDTO> querycorrectCityMasterPhone1(Query query);

    */
/**
     * 查询历届城主
     * @return
     *//*

    List<ApplyCityMasterDTO> querycorrectCityMasterPhone2(Query query);

}
*/
